package com.example.demo.service;


import com.example.demo.entity.Activity;
import com.example.demo.entity.MyArray;

import java.util.List;
import java.util.Map;

//创建ActivityService接口
public interface ActivityService {

    int addActivity(Activity activity);

    int delActivity(MyArray actovityId);

    int updateActivity(Activity activity);

    Activity selectActivityById(Integer activityId);

    List<Activity> selectAllActivities();

    int joinActivity(Integer businessId, Integer activityId);

    int exitActivity(Integer businessId, Integer activityId);
}
